package com.niu.wm.service;

import java.util.List;

import com.niu.wm.model.Dict;
import com.niu.wm.model.User;
import com.alibaba.fastjson.JSONArray;

public interface DictService {

	
	Dict load(Long id);
	
	Dict loadByCode(String code);
	
	int add(User user, Dict dict);
    
    void delete(User user, Long id);

    int update(User user, Dict dict);
}
